﻿Public Class HopDongLD

    Private iSoHopDongLD As Integer
    Private sMaHopDongLD As String
    Private sTenHopDongLD As String
    Private dNgayKy As Date
    Private iSoLoaiHDLD As Integer ''Khóa phụ liên kết với bảng Loại hợp đồng
    Private dNgayHieuLuc As Date
    Private dNgayHetHieuLuc As Date
    Private iSoViTriCV As Integer ''Khóa phụ liên kết với bảng Vị trí công việc
    Private iSoNV As Integer ''Khóa phụ liên kết với bảng Nhân viên
    Private iHinhThucLamViec As Integer '1 là full time, 2 là làm part time
    Private dMucLuongBaoHiem As Decimal
    Private dMucLuongThoaThuan As Decimal
    Private dPhuCap As String
    Private sNguoiDaiDienKy As String
    Private sChucDanh As String
    Private sDienGiai As String
    Private sTepTinDinhKem As Byte()

    Public Property SoHopDongLD() As Integer
        Get
            Return iSoHopDongLD
        End Get
        Set(ByVal value As Integer)
            iSoHopDongLD = value
        End Set
    End Property

    Public Property MaHopDongLD() As String
        Get
            Return sMaHopDongLD
        End Get
        Set(ByVal value As String)
            sMaHopDongLD = value
        End Set
    End Property

    Public Property TenHopDongLD() As String
        Get
            Return sTenHopDongLD
        End Get
        Set(ByVal value As String)
            sTenHopDongLD = value
        End Set
    End Property

    Public Property NgayKy() As Date
        Get
            Return dNgayKy
        End Get
        Set(ByVal value As Date)
            dNgayKy = value
        End Set
    End Property

    Public Property SoLoaiHDLD() As Integer
        Get
            Return iSoLoaiHDLD
        End Get
        Set(ByVal value As Integer)
            iSoLoaiHDLD = value
        End Set
    End Property

    Public Property NgayHieuLuc() As Date
        Get
            Return dNgayHieuLuc
        End Get
        Set(ByVal value As Date)
            dNgayHieuLuc = value
        End Set
    End Property

    Public Property NgayHetHieuLuc() As Date
        Get
            Return dNgayHetHieuLuc
        End Get
        Set(ByVal value As Date)
            dNgayHetHieuLuc = value
        End Set
    End Property

    Public Property SoViTriCV() As Integer
        Get
            Return iSoViTriCV
        End Get
        Set(ByVal value As Integer)
            iSoViTriCV = value
        End Set
    End Property

    Public Property SoNV() As Integer
        Get
            Return iSoNV
        End Get
        Set(ByVal value As Integer)
            iSoNV = value
        End Set
    End Property

    Public Property HinhThucLamViec() As Integer
        Get
            Return iHinhThucLamViec
        End Get
        Set(ByVal value As Integer)
            iHinhThucLamViec = value
        End Set
    End Property

    Public Property MucLuongBaoHiem() As Decimal
        Get
            Return dMucLuongBaoHiem
        End Get
        Set(ByVal value As Decimal)
            dMucLuongBaoHiem = value
        End Set
    End Property

    Public Property MucLuongThoaThuan() As Decimal
        Get
            Return dMucLuongThoaThuan
        End Get
        Set(ByVal value As Decimal)
            dMucLuongThoaThuan = value
        End Set
    End Property

    Public Property PhuCap() As String
        Get
            Return dPhuCap
        End Get
        Set(ByVal value As String)
            dPhuCap = value
        End Set
    End Property

    Public Property NguoiDaiDienKy() As String
        Get
            Return sNguoiDaiDienKy
        End Get
        Set(ByVal value As String)
            sNguoiDaiDienKy = value
        End Set
    End Property

    Public Property ChucDanh() As String
        Get
            Return sChucDanh
        End Get
        Set(ByVal value As String)
            sChucDanh = value
        End Set
    End Property

    Public Property DienGiai() As String
        Get
            Return sDienGiai
        End Get
        Set(ByVal value As String)
            sDienGiai = value
        End Set
    End Property

    Public Property TepTinDinhKem() As Byte()
        Get
            Return sTepTinDinhKem
        End Get
        Set(ByVal value As Byte())
            sTepTinDinhKem = value
        End Set
    End Property

End Class
